package com.group4.edu.mapper;

import com.group4.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.vo.CoursePublishVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author cloud
 * @since 2022-03-10
 */
@Mapper
public interface CourseMapper extends BaseMapper<Course> {

    /**
     * 获取课程发布页面信息
     * @param id
     * @return
     */
    CoursePublishVO getCoursePublishInfoById(String id);
}
